/* DIN Next LT Arabic Font Definitions */
@font-face {
  font-family: "DINNextLTArabic";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicLight.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabic-Regular.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabic-Regular.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicMedium.woff2") format("woff"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicMedium.woff") format("woff2");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBold.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBold.woff") format("woff");
}

@font-face {
  font-family: "DINNextLTArabic";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: local("DINNextLTArabic"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBlack.woff2") format("woff2"),
    url("/Style Library/PORTAL/V1/fonts/DINNextLTArabicBlack.woff") format("woff2");
}


/* Apply the font to body or specific elements */
body {
  font-family: "DINNextLTArabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#s4-workspace {
  padding-bottom: 0 !important;
  font-family: "DINNextLTArabic", sans-serif !important;
}

.ms-h1,
.ms-h2,
.ms-h3,
.ms-h4,
.ms-h5,
.ms-h6,
.ms-headerFont {
  margin: inherit;
  font-family: "DINNextLTArabic" !important;
}



/* Custom Bootstrap Theme - Green Theme (#0067b3) */
:root {
   --bs-primary: #005a86;
  --primary-color: #003218;
  --gold-color: #AA8E60;
  --bs-primary-rgb: 16, 70, 49;
  --bs-primary-text-emphasis: #083821;
  --bs-primary-bg-subtle: #d1e0d8;
  --bs-primary-border-subtle: #a3c2b2;
   --bs-primary-gradient: linear-gradient(
    deg,
    rgba(2, 170, 126, 1) 0%,
    rgba(0, 90, 134, 1) 100%
  );
  /*** SharePoint ribbon ***/
  #ms-designer-ribbon,
  .ms-signInLink {
    display: none !important;
  }

  /* Apply the font to body or specific elements */
  body {
    font-family: "DIN Next LT Arabic", -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  #s4-workspace {
    padding-bottom: 0 !important;
    font-family: "DINNextLTArabic", sans-serif !important;
  }

  .ms-h1,
  .ms-h2,
  .ms-h3,
  .ms-h4,
  .ms-h5,
  .ms-h6,
  .ms-headerFont {
    margin: inherit;
    font-family: "DINNextLTArabic" !important;
  }

  .flex-1 {
    flex: 1 1 0;
  }

  /* Font weight utility classes */
  .font-ultralight {
    font-weight: 200;
  }

  .font-light {
    font-weight: 300;
  }

  .font-regular {
    font-weight: 400;
  }

  .font-medium {
    font-weight: 500;
  }

  .font-bold {
    font-weight: 700;
  }

  .font-heavy {
    font-weight: 800;
  }

  .font-black {
    font-weight: 900;
  }

  /* Gold color for accent */
  --bs-gold: #AA8E60;
  --bs-gold-rgb: 212,
  178,
  84;

  /* Adjusting other Bootstrap variables for better harmony */
  --bs-link-color: #0b0d0e;
  --bs-link-hover-color: #0d3826;
  --bs-focus-ring-color: rgba(16, 70, 49, 0.25);

  /* Font family */
  --bs-font-sans-serif: "DIN Next LT Arabic",
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  Roboto,
  "Helvetica Neue",
  Arial,
  sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);

  /* Component specific overrides */
  --bs-btn-active-bg: #0d3826;
  --bs-btn-active-border-color: #0a2e1f;
}



/* browser scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #6c757d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0067b3;
}

html {
  font-size: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.stroke {
  font-size: 22px;
  color: #161616;
  vertical-align: sub;
}

.stroke-16 {
  font-size: 16px;
}

.stroke-24 {
  font-size: 24px;
}

.stroke-32 {
  font-size: 32px;
}

.stroke-40 {
  font-size: 40px;
}

.stroke-48 {
  font-size: 48px;
}

.stroke-64 {
  font-size: 64px;
}

.border-white-30 {
  border-color: rgb(255 255 255 / 0.3) !important;
}

/* Button primary */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #005a86;
  --bs-btn-border-color: #005a86;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0067b3;
  --bs-btn-hover-border-color: #0067b3;
  --bs-btn-focus-shadow-rgb: 73, 115, 98;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0067b3;
  --bs-btn-active-border-color: #0067b3;
  --bs-btn-disabled-color: #fff; 
  --bs-btn-disabled-bg: #005a86;
  --bs-btn-disabled-border-color: #005a86;
}

/* Button outline primary */
.btn-outline-primary {
  --bs-btn-color: #005a86;
  --bs-btn-border-color: #005a86;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #005a86;
  --bs-btn-hover-border-color: #005a86;
  --bs-btn-focus-shadow-rgb: 16, 70, 49;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #005a86;
  --bs-btn-active-border-color: #005a86;
  --bs-btn-disabled-color: #005a86;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #005a86;
}

/* Background colors */
.bg-primary {
  background-color: #005a86 !important;
}

.text-primary {
  color: #005a86 !important;
}


/* Border colors */
.border-primary {
  border-color: #005a86 !important;
}

/* Links */
a {
  color: #005a86;
}

a:hover {
  color: #0d3826;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
  border-color: #a3c2b2;
  box-shadow: none;
}

/* Custom form controls */
.form-check-input:checked {
  background-color: #005a86;
  border-color: #005a86;
}

/* Modal headers */
.modal-header {
  border-bottom-color: rgba(16, 70, 49, 0.2);
}

/* Gold accent color utility classes */
.text-gold {
  color: #a3875b !important;
}

.bg-gold {
  background-color: #a3875b !important;
}

.border-gold {
  border-color: #a3875b !important;
}

/* Additional styles for specific components */
.card-header {
  background-color: rgba(16, 70, 49, 0.05);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #005a86;
  color: #fff;
}

/* Pagination */
.page-item.active .page-link {
  background-color: #005a86;
  border-color: #005a86;
}

.page-link {
    color: #005a86;
}

.page-link:hover {
  color: #0d3826;
}

/* Progress bars */
.progress-bar {
  background-color: #005a86;
}

/* List groups */
.list-group-item.active {
  background-color: #005a86;
  border-color: #005a86;
}

/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
 background-color: #005a86;
}

/* Ensure the new green color is used in mode-toggle switch we created earlier */
.mode-toggle .form-check-input:checked {
   background-color: #005a86;
  border-color: #005a86;
}

/* Custom dropdown styling with arrow-down-01 */
.dropdown-toggle::after {
  display: none !important;
  /* Hide default Bootstrap dropdown arrow */
}

/* Custom Cards Shadow */
.card {
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
    0px 4px 6px -2px rgba(16, 24, 40, 0.03) !important;
  border: 0 !important;
}

.text-justify {
  text-align: justify;
}

/***********************************************/
/****    loader START ***********/
/************************************************/
@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animated-img {
  animation: fadeScale 2s infinite alternate ease-in-out;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  /* Adjust as needed */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/***********************************************/
/****    loader END ***********/
/************************************************/
#card-section .card-overlay a:visited,
.presedent-card span {
  color: #ffffff !important;
}

.header .nav-item a span,
.header .nav-item .dropdown-menu li a:visited,
.news-section a.btn-light:visited,
.breadcrumb-item a:visited,
#card-section .card-overlay a:hover {
 /* color: rgba(33, 37, 41, 0.75) !important;*/
}

/* Responsive About US Details Styles */
@media (max-width: 991.98px) {
  #about-us-details .d-flex.flex-column.flex-lg-row {
    gap: 1rem !important;
  }

  #about-us-details .border-bottom.border-lg-end {
    border-right: none !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
  }

  #about-us-details .ps-lg-3.ps-0 {
    padding-left: 0 !important;
  }
}

@media (max-width: 767.98px) {
  #about-us-details .flex-column.flex-lg-row {
    flex-direction: column !important;
  }

  #about-us-details .gap-3 {
    gap: 0.75rem !important;
  }

  #about-us-details .p-3.p-lg-4 {
    padding: 0.75rem !important;
  }

  #about-us-details h5 {
    font-size: 1rem !important;
  }

  #about-us-details .lead {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 575.98px) {
  #about-us-details .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #about-us-details .rounded-3 {
    border-radius: 0.5rem !important;
  }
  }

.gradient-bg {
  background-image: url("/Style Library/PORTAL/V1/img/hero-bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;}
.bg-secondary {
  background-color: #02aa7e !important;
} 

/*** SharePoint ribbon ***/
#ms-designer-ribbon,
.ms-signInLink {
  display: none !important;
}

#membersTabContent img{
  max-width:90px;
  max-height:90px;
}


#about-us img{
  
  max-width:100%;
  max-height:50vh;

}